package org.dong.base.thread.deadlock;

public class DeadLockTest {
    public static void main(String[] args) {
        Count count = new Count();

        Thread1 t1 = new Thread1(count);
        Thread2 t2 = new Thread2(count);

        t1.setName("线程A");
        t2.setName("线程B");

        t1.start();
        t2.start();
    }
}
